﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>DJSON</title>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/djson-1.0.0.js" type="text/javascript"></script>
</head>
<body>
    <script type="text/javascript">

        //alert("1");
        
        var a = {
            first: {
                info: "This is the first one!",
                more: DJSON("JSON.js")
            },
            second: {
                info: "This is the second one!"
            }
        };

        DJSON.init(a);

        alert(a.first.more.dynamicdata);

    </script>
</body>
</html>